<?php

namespace pmvc\mvc\view;

use pmvc\mvc\BaseRegexMapping;
use pmvc\ioc\ObjectFactory;
use pmvc\ioc\InitializingObject;
use pmvc\mvc\ViewHandlerMapping;
use pmvc\mvc\ViewHandler;
use pmvc\mvc\Request;
use pmvc\util\StringUtil;
use pmvc\util\ClassUtil;
use pmvc\log\Log;
use Exception;

class RegexViewHandlerMapping
	extends BaseRegexMapping
	implements ViewHandlerMapping {

	public function __construct() {
		parent::setRequiredType('pmvc\mvc\ViewHandler');
	}

	public function getViewHandler($viewName, Request $request) {
		return parent::getMappedObject($viewName);
	}
}

?>